package com.safetys.co.gateway;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import lombok.Data;

@PropertySource(value = { "classpath:apisix.properties",
		"classpath:apisix-${spring.profiles.active}.properties" }, ignoreResourceNotFound = true, encoding = "UTF-8")
@ConfigurationProperties(prefix = "spring.apisix")
@Component
@Data
public class GatewayProperties {

	private String serviceURL;
	private String k;
}
